import java.util.Scanner;

public class Text {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        Circle circle = new Circle(sc.next(),sc.nextDouble());
        Triangle triangle = new Triangle(sc.next(),sc.nextDouble(), sc.nextDouble(), sc.nextDouble());
        System.out.println("Circle的颜色为: "+circle.getColor());
        System.out.println("Circle的半径为: "+circle.getRadius());
        System.out.println("Circle的面积为: "+circle.area());
        System.out.println("Circle的周长为: "+circle.perimeter());
        System.out.println();
        System.out.println("Triangle的颜色为: "+triangle.getColor());
        System.out.println("Triangle的分别为: "+triangle.a+" "+triangle.b+" "+triangle.c);
        System.out.println("Triangle的面积为: "+triangle.area());
        System.out.println("Triangle的周长为: "+triangle.perimeter());
    }
}
